<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="sf" uri="https://gitee.com/initialized"%>
<!DOCTYPE html>
<html>
<head>
<title>带属性的自定义标签的测试结果</title>
</head>
<body>
  <%
      request.setCharacterEncoding("utf-8");
  %>
  <jsp:useBean id="obj" class="bean.CustomBean" scope="request">
    <jsp:setProperty name="obj" property="url" value="${header['referer']}" />
  </jsp:useBean>
  <%-- 此处使用的是单闭合标签 --%>
  <sf:url url="${obj.url}" />
</body>
</html>
